/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simulador;

import java.util.ArrayList;

/**
 *
 * @author Old
 */
public class ServicoStats {
    
    private String nomeServico = "serv";
    private ArrayList<Float> filamax = new ArrayList<Float>();
    private ArrayList<Float> fila = new ArrayList<Float>();
    private ArrayList<Float> tempomed = new ArrayList<Float>();
    private ArrayList<Float> compmedio = new ArrayList<Float>();
    private ArrayList<Float> utilizacao = new ArrayList<Float>();
    private ArrayList<Float> atendidos = new ArrayList<Float>();

    public ServicoStats(String nome) {
        nomeServico = nome;
    }
    
    public void addVals(float fMax, float filaS, float tMed, float cMed, float util, float atend){
        filamax.add(fMax);
        fila.add(filaS);
        tempomed.add(tMed);
        compmedio.add(cMed);
        utilizacao.add(util);
        atendidos.add(atend);
    }

    public ArrayList<Float> getAtendidos() {
        return atendidos;
    }

    public ArrayList<Float> getCompmedio() {
        return compmedio;
    }

    public ArrayList<Float> getFilamax() {
        return filamax;
    }

    public String getNomeServico() {
        return nomeServico;
    }

    public ArrayList<Float> getTempomed() {
        return tempomed;
    }

    public ArrayList<Float> getUtilizacao() {
        return utilizacao;
    }

    public ArrayList<Float> getFila() {
        return fila;
    }

    public void setFila(ArrayList<Float> fila) {
        this.fila = fila;
    }
    
    
    
}
